﻿using Sessionizer.Samples.Model;

namespace Sessionizer.Samples.Sessionized.Rankers.NameLength
{
    /// <summary>
    /// Simpliest implementation
    /// No dependencies
    /// </summary>
    public sealed class NameLengthRanker:IRanker
    {
        public int Rank(ITeam team)
        {
            return team.Name.Length;
        }
    }
}